package cn.taokuaidi.wangwang.client.context;

import cn.taokuaidi.wangwang.client.constants.AppEvents;
import cn.taokuaidi.wangwang.client.model.OrderDO;

import com.extjs.gxt.ui.client.mvc.Dispatcher;

/**
 * @author 嘉陵江里捉鱼 email:tang7259@163.com
 *@version 1.0
 *@time Nov 3, 2008 11:10:30 AM
 */
public class BuyerGridSelectEventContext {

    private static OrderDO order;

    public static OrderDO getOrder() {
        return order;
    }

    public static void init(OrderDO oriOrder) {
        order = oriOrder;
        Dispatcher.forwardEvent(AppEvents.BUYER_GRID_SELECTED);
    }
}
